package com.ktwlsoft.archivemanage.payload.study.studyClass;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author JokerMo
 * @version 1.0
 * @date 2019/12/26 15:52
 */
@Getter
@Setter
public class SetInvalidRequest {
    @ApiModelProperty("课程id")
    @NotNull(message = "课程id不能为空")
    private Long id;

    @ApiModelProperty("管理备注")
    @Size(min = 5, max = 50, message = "管理备注字符为5-50个字符")
    private String manageRemark;

    @ApiModelProperty("设置违规true，取消违规false")
    @NotNull(message = "管理状态")
    private Boolean isInvalid;
}
